package com.demo.druid.base.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author wangjianhua
 * @Description base通用类
 * @date 2021/9/1/001 13:44
 **/
@Data
public class Base implements Serializable {

    private static final long serialVersionUID =8925514045582235838L;

    private int id;

    private String createdBy;

    private Date createdTime;

    private String updatedBy;

    private Date updatedTime;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long page;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long limit;
}
